package com.woniuxy.joylifemarket.service;


import com.woniuxy.common.entity.MarketCommodity;

import java.util.List;

public interface MarketCommodityService {
    List<MarketCommodity> findAllCommodity();
    MarketCommodity finaCommodityByPrimarykey(String commodityid);
    List<MarketCommodity> findAllCommodityByUserId(String userid);
    List<MarketCommodity> findCommoditiesBySearch(String search);
    List<MarketCommodity> findIRealease(String loginuserid);
    List<MarketCommodity> findISell(String loginuserid);
    int changeCommodity(MarketCommodity commodity);
    int deleteCommodityById(String commodityid);
    MarketCommodity postCommodity(MarketCommodity marketCommodity);
    int polishCommodity(String commodityid);
    int changeCommodityHeatStatus();
}
